package com.kancy.mybatisplus.generator.idea.service;

import com.intellij.openapi.components.ServiceManager;
import com.kancy.mybatisplus.generator.view.Main;

/**
 * <p>
 * ApplicationService
 * <p>
 *
 * @author: kancy
 * @date: 2020/6/15 11:38
 **/

public interface ApplicationService {

    /**
     * 是否ok
     * @return
     */
    boolean initService();

    /**
     * 显示
     */
    void display();

    /**
     * 获取app
     * @return
     */
    Main getApp();

    static ApplicationService getInstance() {
        return ServiceManager.getService(ApplicationService.class);
    }
}
